//1.医院设置中 获取分页列表请求的 参数类型
export interface getHosSetListParamsType {
    page: number,
    limit: number,
    hosname?: string,
    hoscode?: string
}

//2.医院设置中，获取分页列表请求的 返回值类型

//返回的数据的每一项的类型
export interface getHosSetListItemType {
    id: number,
    createTime: string,
    updateTime: string,
    isDeleted: number,
    param: object,
    hosname: string,
    hoscode: string,
    apiUrl: string,
    signKey: string,
    contactsName: string,
    contactsPhone: string,
    status: 0 | 1//登陆状态只有零和一
}

//返回值的Records这个数组的类型，
export type getHosSteListRecordsType = getHosSetListItemType[]

//返回的完整类型
export interface getHosSetListReturnType {
    records: getHosSteListRecordsType,
    total: number,
    size: number,
    current: number,
    orders: any[],//未知，需要在定义
    hitCount: boolean,
    searchCount: boolean,
    pages: number
}

//添加数据的参数类型
export interface addHospitalParamsType {
    hoscode: string,
    hosname: string,
    apiUrl: string,
    contactsName: string,
    contactsPhone: string,

}

//更新数据的参数类型，多增加一个id
export interface updateHospitalParamsType extends addHospitalParamsType {
    id: string
}